Skip to content

Add AOT support for dynamic projections, streaming/scroll queries and Meta annotation #4970

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 56 commits into from

Conversation

mp911de
Copy link
Member

@mp911de mp911de commented May 14, 2025

rozza and others added 30 commits April 22, 2025 09:35
Supports range style queries for encrypted fields

Closes: #4185
Original Pull Request: #4885
This commit decouples queryable encryption from explicit encryption and introduces the Queryable annotation to represent different query types like range and equality.
Additionally it removes value conversion from range encryption and fixes update mapping of range encrypted fields.

Original Pull Request: #4885
Original Pull Request: #4885
Original Pull Request: #4885
This commit fixes an issue where id properties annotated with MongoId had not been converted into the desired target type when inserting a collection of objects instead a single one.

Resolves: #4944
Original pull request: #4945
Initialize MongoId also for reactive insertAll(…).

See: #4944
Original pull request: #4945
Guard tests for encryption functionality.

Original Pull Request: #4885
Initial Support for generating repository source code at build time.

Closes: #4939
- Introduce AOT fragment base class.
- Refactor Delete execution to be reusable.
- Add support for updates.
- Add support for aggregations.
- Move types to repository package.
- Update documentation.

See: #4939
Transition nullable annotations previously missed to jspecify.

See: #4874
JMX support has been removed but unfortunately when merging changes for jspecify the package-info.java file sneaked back in.

See: #4940
Closes: #4947

Signed-off-by: Jeff Yemin <[email protected]>
Remove quantization from VectorSearch docs.

Closes: #4931

Signed-off-by: Alex Bevilacqua <[email protected]>
…ay ()

- Added methods `byValueAscending()` and `byValueDescending()` to the SortArray class
  to support sorting simple array types (e.g., integers, strings) in ascending and descending order.
- Updated tests to verify the correct functionality of sorting arrays by value.
- Refactored SortArray to handle sorting of simple types without requiring a property for sorting.

For more details, refer to: https://www.mongodb.com/docs/manual/reference/operator/aggregation/sortArray/

Resolves: #4929
Original Pull Request: #4943

Signed-off-by: Ranzy Blessings <[email protected]>
Add method to provide sorting direction to sort array aggregation.

Related to: #4929
Original Pull Request: #4935

Signed-off-by: Nathan McDonald <[email protected]>
Update test, since tags, rename method.

Original Pull Requests: #4935 & #4943
mp911de and others added 11 commits May 9, 2025 14:18
Original Pull Request: #4960
…tadata)` instead of private overload.

Overriding the proper variant of EntityInformation is now possible because we no longer utilize a private method in addition to the public one leading to partial customization of EntityInformation.

Closes #4967
Use weaker test visibility.

See #4967
@mp911de mp911de requested a review from christophstrobl May 14, 2025 09:06
@mp911de mp911de added type: enhancement A general enhancement theme: aot An issue related to Ahead-Of-Time processing labels May 14, 2025
christophstrobl pushed a commit that referenced this pull request May 15, 2025
christophstrobl pushed a commit that referenced this pull request May 15, 2025
christophstrobl pushed a commit that referenced this pull request May 15, 2025
See: #4939
Original Pull Request: #4970
christophstrobl added a commit that referenced this pull request May 15, 2025
@christophstrobl
Copy link
Member

merged to 5.0.x

@christophstrobl christophstrobl added this to the 5.0 M3 (2025.1.0) milestone May 15, 2025
@mp911de mp911de deleted the hacking/projections-scroll branch May 15, 2025 09:53
mp911de added a commit that referenced this pull request May 16, 2025
mp911de added a commit that referenced this pull request May 16, 2025
mp911de added a commit that referenced this pull request May 16, 2025
See: #4939
Original Pull Request: #4970
mp911de pushed a commit that referenced this pull request May 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme: aot An issue related to Ahead-Of-Time processing type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants